package com.ct.gd.passport.common.connect;

import com.up91.common.android.connect.UpHttpClientHelper;

public class CtServer extends UpHttpClientHelper{
	
	private  static CtServer instance;
	public static void init() {
		instance = new CtServer();
	}
	
	public static CtServer getServer(){
		return instance;
	}

	private OnResponseEntityObtainedListenerImpl	mOnResponseEntityObtainedListenerImpl;
	
	public CtServer() {
		super();
		mOnResponseEntityObtainedListenerImpl = new OnResponseEntityObtainedListenerImpl();
		setOnResponseEntityObtainedListener(mOnResponseEntityObtainedListenerImpl);
	}

	@Override
	protected String getApiUrl(String command) {
		if(command.startsWith("http://")){
			return command;
		}
//		return "http://121.9.201.145:81/"+command;
		return "http://www.114crj.com/manager/"+command;
	}

	
}
